home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ SFP Options 1.xpl
< prev
next >
Wrap
Text File
|
2001-04-12
|
2KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="System\Software Installation\Windows File Protection"
"NAME"="WFP Display Options"
"VERSION"="1.12"
"OSVERSION"="000111"
"LANGUAGE"="VBScript"
"TEXT 1"="Display detailed popups about activity"
"TEXT 2"="Display information-popups before altering files"
"TEXT 3"="Display progress bar when altering files"
"DESCRIPTION 1"="WFP is a system that prevents "bad" apps from changing system files."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to Chris [mailto:cgmt@flashmail.com] for the "only W2K" bug fix"
sV1="HKLM\Software\Microsoft\Windows\CurrentVersion\SystemFileProtection\ShowPopups"
sV2="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCDisable" 'DW
sV3="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCShowProgress" 'DW
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=1 then setuielement 1,true
i=RegReadValue(sV2)
if i=0 then setuielement 2,true
i=RegReadValue(sV3)
if i=1 then setuielement 3,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
v=1
else
v=0
end if
Call RegWriteValue(sV1,v,2)
if GetUIElement(2)=true then
v=0
else
v=4
end if
Call RegWriteValue(sV2,v,2)
if GetUIElement(3)=true then
v=1
else
v=0
end if
Call RegWriteValue(sV3,v,2)
Call Restart
End Sub
Sub Plugin_Terminate
End Sub